package com.txunda.zhuohired.bean.user.home;

import com.txunda.zhuohired.bean.common.RecruitBean;

import java.util.List;

/**
 * 创建人： Txd_Cjh
 * 创建时间： 2018/4/2 16:36
 * 功能描述：首页bean
 * 联系方式：jiahuanchen@126.com
 */

public class HomeBean {


    /**
     * code : 1
     * message : 成功
     * data : {"article":[{"id":"4","title":"卓聘简介"}],"home_pic":[{"url":"http://zhuoHired.txunda
     * .com/Uploads/HomePic/2018-04-03/5ac30eb61d3a3.png","link":"http://www.baidu.com"}],
     * "pic_list":[{"url":"http://zhuoHired.txunda.com/Uploads/HomePic/2018-04-03/5ac30eb61d3a3.png",
     * "link":"https://www.txunda.com"}],"modules":[{"id":"1","modules_name":"每日新职位","modules_pic":"http://zhuoHired
     * .txunda.com/Uploads/Modules/2018-04-03/5ac30e6d3f1f3.png"},{"id":"2","modules_name":"卓聘直招",
     * "modules_pic":"http://zhuoHired.txunda.com/Uploads/Modules/2018-04-03/5ac30e77c2dc6.png"},{"id":"3",
     * "modules_name":"互联网招聘","modules_pic":"http://zhuoHired.txunda
     * .com/Uploads/Modules/2018-04-03/5ac30e85ae0f2.png"},{"id":"4","modules_name":"兼职计划",
     * "modules_pic":"http://zhuoHired.txunda.com/Uploads/Modules/2018-04-03/5ac30e8f6d7f7.png"},{"id":"5",
     * "modules_name":"全部职位","modules_pic":"http://zhuoHired.txunda
     * .com/Uploads/Modules/2018-04-03/5ac30e98b6a03.png"}],"recruit":[],"home_recruit":[{"id":"1","title":"2018年春招",
     * "title_two":"全国急聘服务岗","pic":"http://zhuoHired.txunda.com/Uploads/HomeRecruit/2018-04-03/5ac34c640e9c8.png"},
     * {"id":"2","title":"热招排行榜","title_two":"看看别人的选择","pic":"http://zhuoHired.txunda
     * .com/Uploads/HomeRecruit/2018-04-03/5ac34c6dc6576.png"}],"is_pass":"1","city_name":"安庆市"}
     * nums : 0
     */

    private String code;
    private String message;
    private DataBean data;
    private String nums;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getNums() {
        return nums;
    }

    public void setNums(String nums) {
        this.nums = nums;
    }

    public static class DataBean {
        /**
         * article : [{"id":"4","title":"卓聘简介"}]
         * home_pic : [{"url":"http://zhuoHired.txunda.com/Uploads/HomePic/2018-04-03/5ac30eb61d3a3.png",
         * "link":"http://www.baidu.com"}]
         * pic_list : [{"url":"http://zhuoHired.txunda.com/Uploads/HomePic/2018-04-03/5ac30eb61d3a3.png",
         * "link":"https://www.txunda.com"}]
         * modules : [{"id":"1","modules_name":"每日新职位","modules_pic":"http://zhuoHired.txunda
         * .com/Uploads/Modules/2018-04-03/5ac30e6d3f1f3.png"},{"id":"2","modules_name":"卓聘直招",
         * "modules_pic":"http://zhuoHired.txunda.com/Uploads/Modules/2018-04-03/5ac30e77c2dc6.png"},{"id":"3",
         * "modules_name":"互联网招聘","modules_pic":"http://zhuoHired.txunda
         * .com/Uploads/Modules/2018-04-03/5ac30e85ae0f2.png"},{"id":"4","modules_name":"兼职计划",
         * "modules_pic":"http://zhuoHired.txunda.com/Uploads/Modules/2018-04-03/5ac30e8f6d7f7.png"},{"id":"5",
         * "modules_name":"全部职位","modules_pic":"http://zhuoHired.txunda
         * .com/Uploads/Modules/2018-04-03/5ac30e98b6a03.png"}]
         * recruit : []
         * home_recruit : [{"id":"1","title":"2018年春招","title_two":"全国急聘服务岗","pic":"http://zhuoHired.txunda
         * .com/Uploads/HomeRecruit/2018-04-03/5ac34c640e9c8.png"},{"id":"2","title":"热招排行榜","title_two":"看看别人的选择",
         * "pic":"http://zhuoHired.txunda.com/Uploads/HomeRecruit/2018-04-03/5ac34c6dc6576.png"}]
         * is_pass : 1
         * city_name : 安庆市
         */

        private String is_pass;
        private String city_name;
        private List<ArticleBean> article;
        private List<HomePicBean> home_pic;
        private List<PicListBean> pic_list;
        private List<ModulesBean> modules;
        private List<RecruitBean> recruit;
        private List<HomeRecruitBean> home_recruit;

        public String getIs_pass() {
            return is_pass;
        }

        public void setIs_pass(String is_pass) {
            this.is_pass = is_pass;
        }

        public String getCity_name() {
            return city_name;
        }

        public void setCity_name(String city_name) {
            this.city_name = city_name;
        }

        public List<ArticleBean> getArticle() {
            return article;
        }

        public void setArticle(List<ArticleBean> article) {
            this.article = article;
        }

        public List<HomePicBean> getHome_pic() {
            return home_pic;
        }

        public void setHome_pic(List<HomePicBean> home_pic) {
            this.home_pic = home_pic;
        }

        public List<PicListBean> getPic_list() {
            return pic_list;
        }

        public void setPic_list(List<PicListBean> pic_list) {
            this.pic_list = pic_list;
        }

        public List<ModulesBean> getModules() {
            return modules;
        }

        public void setModules(List<ModulesBean> modules) {
            this.modules = modules;
        }

        public List<RecruitBean> getRecruit() {
            return recruit;
        }

        public void setRecruit(List<RecruitBean> recruit) {
            this.recruit = recruit;
        }

        public List<HomeRecruitBean> getHome_recruit() {
            return home_recruit;
        }

        public void setHome_recruit(List<HomeRecruitBean> home_recruit) {
            this.home_recruit = home_recruit;
        }

        public static class ArticleBean {
            /**
             * id : 4
             * title : 卓聘简介
             */

            private String id;
            private String title;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            @Override
            public String toString() {
                return "ArticleBean{" +
                        "id='" + id + '\'' +
                        ", title='" + title + '\'' +
                        '}';
            }
        }

        public static class HomePicBean {
            /**
             * url : http://zhuoHired.txunda.com/Uploads/HomePic/2018-04-03/5ac30eb61d3a3.png
             * link : http://www.baidu.com
             */

            private String url;
            private String link;

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getLink() {
                return link;
            }

            public void setLink(String link) {
                this.link = link;
            }

            @Override
            public String toString() {
                return "HomePicBean{" +
                        "url='" + url + '\'' +
                        ", link='" + link + '\'' +
                        '}';
            }
        }

        public static class PicListBean {
            /**
             * url : http://zhuoHired.txunda.com/Uploads/HomePic/2018-04-03/5ac30eb61d3a3.png
             * link : https://www.txunda.com
             */

            private String url;
            private String link;

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getLink() {
                return link;
            }

            public void setLink(String link) {
                this.link = link;
            }

            @Override
            public String toString() {
                return "PicListBean{" +
                        "url='" + url + '\'' +
                        ", link='" + link + '\'' +
                        '}';
            }
        }

        public static class ModulesBean {
            /**
             * id : 1
             * modules_name : 每日新职位
             * modules_pic : http://zhuoHired.txunda.com/Uploads/Modules/2018-04-03/5ac30e6d3f1f3.png
             */

            private String id;
            private String modules_name;
            private String modules_pic;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getModules_name() {
                return modules_name;
            }

            public void setModules_name(String modules_name) {
                this.modules_name = modules_name;
            }

            public String getModules_pic() {
                return modules_pic;
            }

            public void setModules_pic(String modules_pic) {
                this.modules_pic = modules_pic;
            }

            @Override
            public String toString() {
                return "ModulesBean{" +
                        "id='" + id + '\'' +
                        ", modules_name='" + modules_name + '\'' +
                        ", modules_pic='" + modules_pic + '\'' +
                        '}';
            }
        }

        public static class HomeRecruitBean {
            /**
             * id : 1
             * title : 2018年春招
             * title_two : 全国急聘服务岗
             * pic : http://zhuoHired.txunda.com/Uploads/HomeRecruit/2018-04-03/5ac34c640e9c8.png
             */

            private String id;
            private String title;
            private String title_two;
            private String pic;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getTitle_two() {
                return title_two;
            }

            public void setTitle_two(String title_two) {
                this.title_two = title_two;
            }

            public String getPic() {
                return pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }

            @Override
            public String toString() {
                return "HomeRecruitBean{" +
                        "id='" + id + '\'' +
                        ", title='" + title + '\'' +
                        ", title_two='" + title_two + '\'' +
                        ", pic='" + pic + '\'' +
                        '}';
            }
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "is_pass='" + is_pass + '\'' +
                    ", city_name='" + city_name + '\'' +
                    ", article=" + article +
                    ", home_pic=" + home_pic +
                    ", pic_list=" + pic_list +
                    ", modules=" + modules +
                    ", recruit=" + recruit +
                    ", home_recruit=" + home_recruit +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "HomeBean{" +
                "code='" + code + '\'' +
                ", message='" + message + '\'' +
                ", data=" + data +
                ", nums='" + nums + '\'' +
                '}';
    }
}
